Your clamp() function will appear here
color: #000000;
color: rgb(0,0,0);
color: hsl(0, 0%, 0%);
Hover over any text on the page and click to analyze its font properties.
Click "Pick Font from Page" to start...
box-shadow: none;
background-image: linear-gradient(to right, #000000, #ffffff);
Characters: 0 | Words: 0
0px = 0rem
All values are calculated with root font-size: 10px (62.5%)
:root {
font-size: 10px;
--font-h1: clamp(4rem, 3.733rem + 0.333vw, 4.8rem);
--font-h2: clamp(3.5rem, 3.267rem + 0.233vw, 4rem);
--font-h3: clamp(2.8rem, 2.667rem + 0.133vw, 3.2rem);
--font-h4: clamp(2.2rem, 2.133rem + 0.067vw, 2.5rem);
--font-h5: clamp(1.8rem, 1.733rem + 0.067vw, 2rem);
--font-h6: clamp(1.5rem, 1.467rem + 0.033vw, 1.6rem);
--font-subheading: clamp(2rem, 0.521vw + 1.833rem, 2.5rem);
--text: clamp(1.4rem, 1.367rem + 0.033vw, 1.6rem);
--small-text: clamp(1.2rem, 1.167rem + 0.033vw, 1.4rem);
--text-button: clamp(1.3rem, 1.25rem + 0.025vw, 1.5rem);
}
Contrast Ratio: 21:1
WCAG Compliance: AAA
Large Text Compliance: AAA
UI Components Compliance: AA
Generate a PHP shortcode that uses your theme's accent color variable.
This is an[ac]Accent Color Example.[/ac]